package com.tulele.vtool.mapper;

import com.tulele.vtool.model.UserWithdrawLogInfo;
import org.springframework.stereotype.Component;

import java.util.List;

@Component(value = "userWithdrawLogInfoMapper")
public interface UserWithdrawLogInfoMapper {

    /**
     * 添加提现信息
     * @param userWithdrawLogInfo
     * @return
     */
    int addWithdrawInfo(UserWithdrawLogInfo userWithdrawLogInfo);

    /**
     * 更新提现信息
     * @param userWithdrawLogInfo
     * @return
     */
    int updateWithdrawInfo(UserWithdrawLogInfo userWithdrawLogInfo);

    /**
     * 查询用户提现信息
     * @param userId
     * @return
     */
    List<UserWithdrawLogInfo> queryUserWithdrawInfo(Integer userId);

    UserWithdrawLogInfo queryUserWithdrawDesc1(Integer userId);
}